package com.yonyou.crm.bpub.approval.util;

import java.util.HashMap;
import java.util.Map;
/**
 * CRM云审批构造方法
 * @author jiaoxw
 *
 */
public class ProcessObjectInfoFactory {
	 private static ProcessObjectInfoFactory instance = new ProcessObjectInfoFactory();
	 private Map<String, ProcessObjectInfo> infoMap = new HashMap<String, ProcessObjectInfo>();
	 private ProcessObjectInfoFactory() {
	        super();
	        init();
	 }
	 public static ProcessObjectInfoFactory getInstance() {
	        return instance;
	 }
	 private void init() {
		  //客户
		 infoMap.put("1", new ProcessObjectInfo("cumprmt","com.yonyou.crm.cum.cumprmt.service.CumprmtBizServiceImpl"));
		 
	 }
	 public ProcessObjectInfo getInfo(String bjType) {
		 ProcessObjectInfo info = infoMap.get(bjType);
	     return info;
	 }
}
